package com.zkr.subclass.model;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * Created by lenovo on 2020/12/11.
 */
@Data
public class SubClassUpdateVo {

    @NotNull(message = "修改时id不能为空!")
    private Integer id;

    @NotBlank(message = "名称不能为空!")
    private String name;

    @NotBlank(message = "描述不能为空!")
    private String remark;

    @NotNull(message = "状态不能为空!")
    private Boolean status;

    private Integer version;



}
